package com.rayo.accesscontrollercopy.model.biz;

import android.content.Context;

import com.rayo.accesscontrollercopy.model.callback.OnGetDbListener;
import com.rayo.accesscontrollercopy.model.callback.OnUpdateDbListener;
import com.rayo.accesscontrollercopy.model.db.bean.SystemData;


/**
 * Created by yanghaojie on 16/7/26.
 */
public interface IParamBiz {
    void init(OnGetDbListener onGetDbListener);

    void saveParam(SystemData systemData, OnUpdateDbListener onUpdateDbListener);

    String getVersion(Context context);

    String getOfficeMode(Context context);

    void getNetworkInfo(OnGetDbListener onGetDbListener);

    void saveNetworkInfo(String ip, String port, OnUpdateDbListener onUpdateDbListener);

    void cleanCache(OnUpdateDbListener onUpdateDbListener);
}
